package ch4oopexer1;
/*飞机有飞行高度、座位数等属性，有起飞、降落方法*/
public class Plane {
    double height;
    double airseat;

    public Plane(double height, double airseat) {
        this.height = height;
        this.airseat = airseat;
    }

    public void takeOff(){
        System.out.println("飞机起飞");
    }
    public void land(){
        System.out.println("飞机降落");
    }
}

